package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

@TableName("erp_invoice")
public class ErpInvoice extends Model<ErpInvoice> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String customerName;
    private String branch;
    private String voucherNo;
    private String dir;
    private String orderFormId;
    private String dt;
    private String invoiceType;
    private String invoiceId;
    private Double totoalPrice;
    private Double toMoney;
    private Double toTax;
    private Double comeMoney;
    private Double comeTax;
    private String ywAttn;
    private String taxRate;
    private String attn;
    private String remark;
    private int receiveState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getVoucherNo() {
        return voucherNo;
    }

    public void setVoucherNo(String voucherNo) {
        this.voucherNo = voucherNo;
    }

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public String getOrderFormId() {
        return orderFormId;
    }

    public void setOrderFormId(String orderFormId) {
        this.orderFormId = orderFormId;
    }

    public String getDt() {
        return dt;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId;
    }

    public Double getTotoalPrice() {
        return totoalPrice;
    }

    public void setTotoalPrice(Double totoalPrice) {
        this.totoalPrice = totoalPrice;
    }

    public Double getToMoney() {
        return toMoney;
    }

    public void setToMoney(Double toMoney) {
        this.toMoney = toMoney;
    }

    public Double getToTax() {
        return toTax;
    }

    public void setToTax(Double toTax) {
        this.toTax = toTax;
    }

    public Double getComeMoney() {
        return comeMoney;
    }

    public void setComeMoney(Double comeMoney) {
        this.comeMoney = comeMoney;
    }

    public Double getComeTax() {
        return comeTax;
    }

    public void setComeTax(Double comeTax) {
        this.comeTax = comeTax;
    }

    public String getYwAttn() {
        return ywAttn;
    }

    public void setYwAttn(String ywAttn) {
        this.ywAttn = ywAttn;
    }

    public String getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate;
    }

    public String getAttn() {
        return attn;
    }

    public void setAttn(String attn) {
        this.attn = attn;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getReceiveState() {
        return receiveState;
    }

    public void setReceiveState(int receiveState) {
        this.receiveState = receiveState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id=id;
    }
}
